package guoanmaker.personal.business.service;

import java.util.List;
import java.util.Optional;

import javax.servlet.http.HttpSession;

import guoanmaker.personal.business.model.PersonalUser;



/**
 * 
 * @author vladimir.stankovic
 *
 * Aug 17, 2016
 */
public interface PersonalUserServiceInterface {
	public Optional<PersonalUser> getByUsername(String username);
	public List<PersonalUser> findUsername(String username);
	
    public PersonalUser  insertUser(PersonalUser personalUser);
	
	List<PersonalUser> loginUserThird(String wxopenId);
	List<PersonalUser> loginqqUserThird(String qqopenId);
	List<PersonalUser> loginweiboUserThird(String wbopenId);
	
	List<PersonalUser>  selectByUsernameandOpenid(String openId,String username);
	
	String getUserNameById(String userid);
	

}
